<?php
	$local = '/www/wwwroot/cake.lsleo.com/yyy-cake';
	//仓库地址
	$remote = 'https://gitee.com/lslt012520/yyy-cake.git';

	$res = shell_exec("cd {$local} && git pull {$remote} 2>&1");
	file_put_contents($local . '/webhooks.txt', date('Y-m-d H:i:s', time()) . "\n" . $res . "\n\n", FILE_APPEND);

